import request from '../../utils/request'

//枚举接口
enum API {
    LOGIN = '/api/user/passport/login/', //登录接口
    LOGOUT = '/api/user/passport/logout/' , //退出登录
}

//登录
export const reqLogin = (data:any)=>request.post(API.LOGIN,data)

//退出登录
export const reqLogout = ()=>request.get(API.LOGOUT)
